package com.huarui.part.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.ewaf.framework.model.BaseDataObject;

/**
 * 车型零件对照类
 * 
 * @author xu
 * 
 */
public class PartOfCarModel extends BaseDataObject {

	private static final long serialVersionUID = -713383448014210425L;
	/**
	 * 主键　
	 */
	private Integer id;
	
	private Integer partId;
	
	private Integer carModelId;
	
	private int quantity;

	@Override
	public Integer getId() {

		return this.id;
	}

	public Integer getPartId() {
		return partId;
	}

	public void setPartId(Integer partId) {
		this.partId = partId;
	}

	public Integer getCarModelId() {
		return carModelId;
	}

	public void setCarModelId(Integer carModelId) {
		this.carModelId = carModelId;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this); 
	}
	
}
